package com.qqtech.qquan.circle.enums;


public enum CircleMemberLogStatusDictEnum {
    NORMAL(1),//正常
    QUITOUT(2),//已退出
    BEKILLOUT(3);//被踢走
    int code;

    CircleMemberLogStatusDictEnum (int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }
    
    public static boolean isInScope(Integer code) {
		if (code == null) {
			return false;
		}
		CircleMemberLogStatusDictEnum[] arrEnum = CircleMemberLogStatusDictEnum.values();
		for (CircleMemberLogStatusDictEnum e : arrEnum) {
			if (e.code == code.intValue()) {
				return true;
			}
		}
		return false;
	}
}


